package com.hntxk.cqzd.sysconfig.sms.entity;

import com.hntxk.core.framework.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Setter
@Getter
public class SmsTmpl extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1747750059918186411L;
    @Id
    private Long tmplId;
    //短信模板名称
    private String tmplName;

    //短信模板内容
    private String tmplContent;

    //创建人id
    private Long createUserId;
    //创建人姓名
    private String createUserName;

    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    //修改人id
    private Long updateUserId;

    //修改人姓名
    private String updateUserName;

    //修改时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
